package com.ytjj.qmyx.mall.service;

import com.ytjj.qmyx.mall.model.GroupBuyUserRel;
import com.ytjj.qmyx.mall.model.response.groupbuy.ProcessGroupBuyListResponse;

import java.util.List;

/**
 * 团员信息
 */
public interface YxGroupBuyUserRelService {
    boolean insert(GroupBuyUserRel userRel);
    GroupBuyUserRel getByOrderNo(String orderNo);
    boolean update(GroupBuyUserRel userRel);
    List<GroupBuyUserRel> queryByGroupId(Integer groupId);
    GroupBuyUserRel getByOrderNoAndUserId(String orderNo, Integer userId);
    List<GroupBuyUserRel> queryCurUserJoinGroupId(Integer userId);
}
